package program;

public class Jail extends Field {

	public Jail(int fieldNr, int payment, String name, String type, int color, int colorNr) {
		super(fieldNr, payment, name, type, color, colorNr);
	}

	//Temp owner er ikke brugt, men sendes for at ownable kan bruge den.
	public void landOnField(Player player, Player tempOwner) {
		player.setInJail(true);
	}

}